#ifndef __MAIN_H__
#define __MAIN_H__
#include "stdint.h"
#include "config.h"
#include "radio.h"
#include "RadioHandle.h"
#include "SysConfig.h"
#include "ReadID.h"
//#include "cmt2300a_hal.h"
extern volatile uint8_t BuiltInTeaKey[16];
extern volatile SYSMEM SysMem;
extern uint8_t FlashEraseFlag;
extern RADIOREPEAT RadioTxRepeat;
extern volatile SYSMEM SysMem;
extern u32 HAL_GetTick(void);
extern void WireHandle(void);
extern void TeaDecryption(uint8_t* buf,uint8_t* key,uint8_t Length);
extern void TeaEncryption(uint8_t *buf, uint8_t *key,uint8_t Length);
extern void read_tea_key(void);
#endif
